package com.cjack.frenchexcel.response.easyeuro;

import com.alibaba.fastjson.JSONObject;

public class QueryPaymentOrderResponse {

    private String version;//Interface version Fixed:2.0。
    private String charset;//Fixed:UTF-8。
    private String status;//Request message communication status. 0 – success other - failure
    private String message;//message
    /* Only return when ‘status’ is 0 */
    private String result_code;//Request message processing status 0 - success other - failure
    private String mch_id;//Unique merchant id allocated by EasyEuro
    private String nonce_str;//Randomstring,lessthan32characters
    private String sign;//MessagesignatureinMD5

    /* Only return when both ‘status’ and ‘result_code’ are 0 */
    //Payment order status:
    // SUCCESS - success
    // REFUND – payment is refunded
    // NOTPAY – order is created but notpaid
    // CLOSED – payment order isclosed
    // REVERSE – payment order is reversed
    // REVOK – payment order is cancelled
    private String trade_state;//
    /* Only return when ‘trade_state’ is SUCCESS */
    private String trade_type;//pay.alipya.native.intl
    private String transaction_id;//Unique payment order id generated by EasyEuro
    private String out_transaction_id;//Unique transaction id generated by AliPay
    private String out_trade_no;//Unique payment order id generated by merchant system, only including alphabet, digit，underscore and mixture

    private String total_fee;//Total value of the payment Unit is 1% of the currency For example in HKD: 1000 indicates HKD 10.0,
    private String fee_type;//Merchant payment collecting currency. Currency code compliant with ISO 4217 standard
    private String time_end;//Completed time of payment transaction Format: yyyyMMddHHmmss, Time Zone: GMT+8 beijing

    private String attach;//附加属性

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getCharset() {
        return charset;
    }

    public void setCharset(String charset) {
        this.charset = charset;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getResult_code() {
        return result_code;
    }

    public void setResult_code(String result_code) {
        this.result_code = result_code;
    }

    public String getMch_id() {
        return mch_id;
    }

    public void setMch_id(String mch_id) {
        this.mch_id = mch_id;
    }

    public String getNonce_str() {
        return nonce_str;
    }

    public void setNonce_str(String nonce_str) {
        this.nonce_str = nonce_str;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getTrade_state() {
        return trade_state;
    }

    public void setTrade_state(String trade_state) {
        this.trade_state = trade_state;
    }

    public String getTrade_type() {
        return trade_type;
    }

    public void setTrade_type(String trade_type) {
        this.trade_type = trade_type;
    }

    public String getTransaction_id() {
        return transaction_id;
    }

    public void setTransaction_id(String transaction_id) {
        this.transaction_id = transaction_id;
    }

    public String getOut_transaction_id() {
        return out_transaction_id;
    }

    public void setOut_transaction_id(String out_transaction_id) {
        this.out_transaction_id = out_transaction_id;
    }

    public String getOut_trade_no() {
        return out_trade_no;
    }

    public void setOut_trade_no(String out_trade_no) {
        this.out_trade_no = out_trade_no;
    }

    public String getTotal_fee() {
        return total_fee;
    }

    public void setTotal_fee(String total_fee) {
        this.total_fee = total_fee;
    }

    public String getFee_type() {
        return fee_type;
    }

    public void setFee_type(String fee_type) {
        this.fee_type = fee_type;
    }

    public String getTime_end() {
        return time_end;
    }

    public void setTime_end(String time_end) {
        this.time_end = time_end;
    }

    public String getAttach() {
        return attach;
    }

    public void setAttach(String attach) {
        this.attach = attach;
    }
}
